package com.un.ebs.production.domain;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.springframework.stereotype.Component;
import lombok.Data;
import com.un.ebs.core.metadata.DbField;

/**
 * (ProductionOrderItemBomSumExt)表实体类
 *
 * @author liubo
 * @since 2020-08-20 17:19:13
 */
@Data
@Component
@TableName("v_production_order_item_bom_sum_ext")
@SuppressWarnings("serial")
public class ProductionOrderItemBomSumExt extends Model<ProductionOrderItemBomSumExt> {


    @DbField(name = "order_id", length = 40, precision = 0)
    private String orderId;

    @DbField(name = "sku_id", length = 40, precision = 0)
    private String skuId;

    @DbField(name = "sku_code", length = 100, precision = 0)
    private String skuCode;

    @DbField(name = "name_as", length = 2100, precision = 0)
    private String nameAs;

    @DbField(name = "order_qty", length = 18, precision = 4)
    private Double orderQty;

    @DbField(name = "sku_item_user_qty", length = 18, precision = 4)
    private Double skuItemUserQty;

    @DbField(name = "is_allow_lack_start", length = -1, precision = 0)
    private Boolean isAllowLackStart;

    @DbField(name = "lack_count", length = -1, precision = 0)
    private Integer lackCount;

    @DbField(name = "requirement_qty", length = 38, precision = 8)
    private Double requirementQty;

    @DbField(name = "can_user_invntory_qty", length = 20, precision = 6)
    private Double canUserInvntoryQty;

    @DbField(name = "production_user_qty", length = 38, precision = 4)
    private Double productionUserQty;

    @DbField(name = "can_user_qty", length = 38, precision = 4)
    private Double canUserQty;

    @DbField(name = "curr_can_user_qty", length = 38, precision = 4)
    private Double currCanUserQty;


}